<?php
// +----------------------------------------------------------------------
// | title: 标题注释
// +----------------------------------------------------------------------
// | Author: TZ.Leong
// +----------------------------------------------------------------------
// | Date: 2019/7/3 15:42
// +----------------------------------------------------------------------
return [
    //中央服对单服接口IP白名单
    "api_ip_config" => ["118.145.137.38","118.145.137.140","127.0.0.1","", "192.168.0.5","192.168.0.19"],
    //台币对人民币汇率
    "exchange_rate" => 0.2297,
    //游戏职业配置，每个游戏职业名字可能不一样
    "game_career" => array(
        1 => "战士",
        2 => "法师",
        3 => "道士"
    ),
    //实时数据统计项目
    "current_data_stat_project" => [
        1 => "在线",
        2 => "今日充值金额",
        3 => "充值次数",
        4 => "充值人数",
        5 => "登陆用户数",
        6 => "创角人数",
        7 => "本月充值金额"
    ],
    //充值回调发货状态
    "pay_callback_status" => [
        STATUS_PENDING => "待发货",
        STATUS_SHIPPING => "正在发货",
        STATUS_SUCCESS => "发货成功",
        STATUS_SIGN_FAILED=> "验签失败",
        STATUS_ORDER_NOT_EXIST => "订单不存在",
        STATUS_ORDER_SHIPPED => "订单已发货",
        STATUS_AMOUNT_MISMATCH  => "回调金额不匹配",
        STATUS_FUNCTION_NOT_EXIST => "发货函数不存在",
        STATUS_SERVER_CONNECT_FAILED  => "链接单服失败",
        STATUS_SERVER_SIGN_FAILED => "单服验签失败",
        STATUS_PLAYER_NOT_EXIST => "玩家不存在",
        STATUS_ORDER_DUPLICATE => "单服订单号已存在",
        STATUS_DELIVERY_FAILED => "发货失败",
        STATUS_RPC_FAILED => "rpc验证失败",
        STATUS_RECHARGE_TYPE_ERROR => "充值类型错误",
        STATUS_RECHARGE_SUBTYPE_ERROR => "充值子类型错误",
        STATUS_CUSTOM_ITEM_INVALID => "定制可选道具不合法",
    ],
    //排行榜类型
    "rank_type" => [
        1 => "战力榜",
        2 => "势力榜",
        3 => "征服之路积分榜",
        4 => "盟势力榜"
    ],
    //邀请成功奖励
    "inviter_gold" => 200,
    "inviter_gift" => [["code" => 2, "num" => 200]],
    //聊天频道
    "chat_type" => [1 => "世界", 2 => "跨服", 3 => "军团", 4 => "私聊"],
];